﻿
#region Using Statements

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    using Microsoft.Xna.Framework;

#endregion

namespace HumanElement.Xna.Construct
{
    /// <summary>
    /// IDynamic - An interface which defines the Update method for 
    /// entities which must be updated every time the game loop is 
    /// execute.
    /// </summary>
    public interface IDynamic        
    {
        /// <summary>
        /// Updates the specified game time.
        /// </summary>
        /// <param name="gameTime">The game time.</param>
        /// <returns></returns>
        void Update(GameTime gameTime);

        /// <summary>
        /// Gets the last game time.
        /// </summary>
        /// <value>The last game time.</value>
        GameTime LastGameTime { get; }
    }
}
